##### reactor #####
cmake_minimum_required(VERSION 2.0)
project(reactor)

#设置reactor动态库信息
set(LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
set(LIB_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include)
set(EXEC_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
#生成库
set(LIB_NAME reactor)
add_subdirectory(src)

#设置可执行文件client, server
set(EXEC_S echoserver)
set(EXEC_C echoclient)
#测试代码
add_subdirectory(test/client)
add_subdirectory(test/server)


